package com.yxq.mdt.app.modules.personal.ui.anchor;

import android.os.Bundle;
import android.text.TextUtils;
import android.widget.TextView;

import androidx.annotation.Nullable;

import com.yxq.mdt.app.R;
import com.yxq.mdt.app.base.BaseActivity;

import butterknife.BindView;
import butterknife.ButterKnife;

/**
 * 认证成功界面
 */
public class PersonalRealNameSucceedAc extends BaseActivity {
    @BindView(R.id.authentication_succeed_name)
    TextView authenticationSucceedName;
    @BindView(R.id.authentication_succeed_number)
    TextView authenticationSucceedNumber;

    @Override
    public int getLayoutId() {
        return R.layout.layout_authentication_succeed;
    }

    @Override
    public void initView() {
        String name = getIntent().getStringExtra("name");
        String number = getIntent().getStringExtra("number");
        if (!TextUtils.isEmpty(name)) {
            authenticationSucceedName.setText(name);
        }
        if (!TextUtils.isEmpty(number)) {
            authenticationSucceedNumber.setText(number);
        }
    }

    @Override
    public void initData(@Nullable Bundle savedInstanceState) {

    }
}
